# -*- coding: utf-8 -*-
from flask import Flask
from config import Config
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
import pymysql
app = Flask(__name__)
app.config.from_object(Config)
db = SQLAlchemy(app)
migrate = Migrate(app, db)
pymysql.install_as_MySQLdb()
from work import work
app.register_blueprint(work, url_prefix='/work')

if __name__ == '__main__':
    app.run()
